package com.ruoyi.jjyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员级别对象 jjyh_memberlevel
 * 
 * @author ruoyi
 * @date 2020-11-19
 */
public class JjyhMemberlevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 会员级别名称 */
    @Excel(name = "会员级别名称")
    private String levelName;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal needMoney;

    /** 免费查看电话次数 */
    @Excel(name = "免费查看电话次数")
    private Integer phoneTimes;

    /** 有效期(月份) */
    @Excel(name = "有效期(天数)")
    private Integer activityMonth;

    /** 是否可以发布产品 */
    @Excel(name = "是否可以发布产品")
    private String isRelease;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }
    public void setNeedMoney(BigDecimal needMoney) 
    {
        this.needMoney = needMoney;
    }

    public BigDecimal getNeedMoney() 
    {
        return needMoney;
    }
    public void setPhoneTimes(Integer phoneTimes) 
    {
        this.phoneTimes = phoneTimes;
    }

    public Integer getPhoneTimes() 
    {
        return phoneTimes;
    }
    public void setActivityMonth(Integer activityMonth) 
    {
        this.activityMonth = activityMonth;
    }

    public Integer getActivityMonth() 
    {
        return activityMonth;
    }

    public String getIsRelease() {
        return isRelease;
    }

    public void setIsRelease(String isRelease) {
        this.isRelease = isRelease;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("levelName", getLevelName())
            .append("needMoney", getNeedMoney())
            .append("phoneTimes", getPhoneTimes())
            .append("activityMonth", getActivityMonth())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
